package com.wlr.littleprogram.exception;

/**
 * @author lrwang
 * @version 1.0
 * @date 2022/8/10 17:45
 */
public class LprogramException extends RuntimeException {
    public LprogramException() {

    }

    public LprogramException(String message) {
        super(message);
    }

    /**
     * 丢出一个异常
     *
     * @param message
     */
    public static void fail(String message) {
        throw new LprogramException(message);
    }

}
